package com.wenjunwu.blog.dao;

import java.util.List;
import java.util.Map;

import com.wenjunwu.blog.entity.BlogContent;

public interface BlogContentDao {
	
	int deleteByPrimaryKey(Long id);

	int insert(BlogContent record);

	BlogContent selectByPrimaryKey(Long id);

	List<BlogContent> selectAll();
	
	List<BlogContent> selectSummarys(Map<String,Object> params);

	int updateByPrimaryKey(BlogContent record);

	List<BlogContent> selectByParams(Map<String, Object> params);
}